package Exception;

public class demo1 {
    public static void main(String[] args) {
        System.out.println("11");
        int []arr = new int[3];
        try {
            System.out.println(arr[10]);
        }
        catch (ArrayIndexOutOfBoundsException e){
            System.out.println("索引越界");
        }
        System.out.println("看看");
    }
}
